<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link href="../css/queryList.css" type="text/css" rel="stylesheet">
    <script type="text/javascript" src="/js/jquery-3.6.0.min.js"></script>
</head>
<body>
<div th:include="common/inc"></div>
<div role="tabpanel" id="pane-reletive" aria-labelledby="tab-reletive" class="el-tab-pane">
    <div>
        <div class="presentation-item" th:each="pl:${list}">
            <div class="fn-clear">
                <input type="hidden" name="userId" th:value="${pl.userId}">
                <input type="hidden" name="positionId" th:value="${pl.positionId}">
                <div class="fn-left position" th:text="${pl.positionName}"></div>
                <span class="fn-left source"><input type="button" value="查看" th:onclick="|information(${pl.positionId},${pl.userId})|" class="btn-success"></span>
            </div>
        </div>
    </div>
</div>
</body>

<script>

    //查询
    function information(positionId,userId){
        location.href="/information/getInformation?positionId="+positionId+"&userId="+userId;
    }
</script>
</html>